package site.lyweb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import site.lyweb.domain.dto.StuCourseRelation;
import site.lyweb.domain.po.StuCoursePo;

import java.util.List;

/**
* @author 深山老林
* @description 针对表【stu_course_relation】的数据库操作Service
* @createDate 2024-06-19 20:53:31
*/
public interface StuCourseRelationService extends IService<StuCourseRelation> {
    //根据id获取
    public StuCoursePo getStuCourseById(String id);

    //根据学生id获取
    public List<StuCoursePo> getStuCourseByStuId(String id);

    //根据学生id获取
    public List<StuCoursePo> getStuCourseByCourseId(String id);


    boolean queryCourseStuByTeaId(String id);

    public List<StuCoursePo> getStuCourseByTeacherId(String teacherId);
}
